/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



package Test.Moteur;

//~--- non-JDK imports --------------------------------------------------------

import Risk.Moteur.Continent;
import Risk.Moteur.Plateau;

//~--- JDK imports ------------------------------------------------------------

import java.io.File;

/**
 *
 * @author alex
 */
public class TestContinent {
    public static void main(String[] args) {
        Plateau   p     = new Plateau();
        Continent conti = new Continent("Europe", 5, p);

        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
        conti = new Continent("Oceanie", 3, p);
        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
        conti = new Continent("Afrique", 3, p);
        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
        conti = new Continent("AmeriqueN", 3, p);
        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
        conti = new Continent("AmeriqueS", 3, p);
        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
        conti = new Continent("Asie", 52, p);
        conti.initialisationPays("." + File.separator + "src" + File.separator + "Risk" + File.separator + "Moteur"
                                 + File.separator + "donnee" + File.separator + "pays_continents.prn");
        System.out.println("" + conti.getNom());
        System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
    }
}
